﻿CREATE PROCEDURE [dbo].[ratings_insert]
    @userId int,
    @bookId int,
    @rateValue int
AS
    INSERT INTO Ratings
    (
        UserId,
        BookId,
        Value
    )
    VALUES 
    (
        @userId,
        @bookId,
        @rateValue
    )
RETURN 0
